







	<div class="main_body">
    	<?php echo $this->element('main_menu')?>
			
		<div id="main_body_content">
		
		
			<div class="customers form">
			<?php echo $this->Form->create('Customer');?>
				<fieldset>
			 		<legend><?php __("Edit Customer"); ?></legend>
				<?php
					echo $this->Form->hidden('id');
					echo $this->Form->hidden('user_id');
					echo $this->Form->input('name',array('label'=>__("First Name",true)));
					echo $this->Form->input('surname',array('label'=>__("Last Name",true)));
					echo $this->Form->input('address1');
					echo $this->Form->input('address2');
					echo $this->Form->input('address3',array('label'=>__("City",true)));
					echo $this->Form->input('address4',array('label'=>__("State",true)));
					echo $this->Form->input('address5',array('label'=>__("Zip coode",true)));
					echo $this->Form->input('phone1');
					echo $this->Form->input('phone2');
					echo $this->Form->input('phone3');
					echo $this->Form->input('phone4');
					echo $this->Form->input('note');
				?>
				</fieldset>
			<?php echo $this->Form->end(__("Submit", true));?>
			</div>

			<div class="clr"></div>	
		</div>	
			
		<?php echo $this->element('languages')?>	
		<div class="clr"></div>
	
	
	</div>	
	<div class="clr"></div>	
	<div class="main_action">
		<div class="main_action_content">
		

			<div class="actions">
				<h3><?php __("Actions"); ?></h3>
				<ul>
			
					<li><?php echo $this->Html->link($html->image(HOST.'/actions_customer_delete.png'), array('action' => 'delete', $this->Form->value('Customer.id')), array('escape'=>false,'title'=>__("Delete", true)), sprintf(__("Are you sure you want to delete # %s?", true), $this->Form->value('Customer.name'))); ?><div class="clr"></div>	<?php echo __("Delete",true)?></li>
					<li><?php echo $this->Html->link($html->image(HOST.'/actions_customers.png'), array('action' => 'index'),array('escape'=>false,'title'=>__("List Customers",true)));?><div class="clr"></div>	<?php echo __("List Customers",true)?></li>
					<li><?php echo $this->Html->link($html->image(HOST.'/actions_orders_list.png'), array('controller' => 'orders', 'action' => 'index'),array('escape'=>false,'title'=>__("List Orders", true))); ?><div class="clr"></div>	<?php echo __("List Orders", true)?> </li>
					<li><?php echo $this->Html->link($html->image(HOST.'/actions_orders_add.png'), array('controller' => 'orders', 'action' => 'add'),array('escape'=>false,'title'=>__("New Order", true))); ?><div class="clr"></div>	 <?php echo __("New Order", true)?> </li>
				</ul>
			</div>
			<div class="clr"></div>
		</div>		
	</div>